package com.it.smn.divide.datasource;

import javax.sql.DataSource;

/**
 * @author sunmannian
 * @ClassName com.it.smn.divide.datasource.AbstractDataSourceWrapper
 * @Date 2020/8/27 14:39
 * @Version V1.0
 * Description  <请输入一句话描述该类功能>
 * Copyright (C) 北京中电兴发科技有限公司  since 2020/8/27
 */

public abstract class AbstractDataSourceWrapper implements DataSource {

    protected int weight;

    protected DataSource dataSource;

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
}